package com.crm.report.service.impl;


import com.crm.custinfo.mapper.CustInfoMapper;
import com.crm.report.service.IUserCostStaticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class UserCostStaticsServiceImpl  implements IUserCostStaticsService {
    @Autowired
    private CustInfoMapper custInfoMapper;
    /**
     * 用户成本统计查询
     *
     * @param params 获取数据的集合
     * @return 结果
     */
    @Override
    public List<Map<String, Object>> userCostStatics(Map<String, Object> params) {
        return custInfoMapper.userCostStatics(params);
    }

    /**
     * 个人数据统计
     *
     * @param params 获取数据的集合
     * @return 结果
     */
    @Override
    public List<Map<String, Object>> userDataStatics(Map<String, Object> params) {
        return custInfoMapper.userDataStatics(params);
    }
}
